﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmApiLibrary.datatypes
{
    public class SohuUser
    {
        //<user>
        public string Id;//    <id>35650585</id>
        public string ScreenName;//    <screen_name>强的</screen_name>
        public string Name;//    <name/>
        public string Location;//    <location>辽宁省,丹东市</location>
        public string Description;//    <description/>
        public string Url;//    <url/>
        public string ProfileImageUrl;//    <profile_image_url>http://s5.cr.itc.cn/mblog/icon/62/be/m_12957060097331.jpg</profile_image_url>
        public bool Protected;//    <protected>true</protected>
        public int FollowersCount;//    <followers_count>4</followers_count>
        public string ProfileBackGroundColor;//    <profile_background_color/>
        public string ProfileTextColor;//    <profile_text_color/>
        public string ProfileLinkColor;//    <profile_link_color/>
        public string ProfileSideBarFillColor;//    <profile_sidebar_fill_color/>
        public string ProfileSideBarBorderColors;//    <profile_sidebar_border_color/>
        public int FriendsCount;//    <friends_count>117</friends_count>
        public string CreatedAt; //To-do: Convert to DateTime //    <created_at>Sat Jan 22 22:06:05 +0800 2011</created_at>
        public int FavouritesCount;//    <favourites_count>0</favourites_count>
        public string UtCOffset;//    <utc_offset/>
        public string TimeZone;//    <time_zone/>
        public string ProfileBackgrounImageUrl;//    <profile_background_image_url/>
        public string Notifications;//    <notifications/>
        public bool GeoEnabled;//    <geo_enabled>false</geo_enabled>
        public int StatusesCount;//    <statuses_count></statuses_count>
        public bool Following;//    <following>false</following>
        public bool Verified;//    <verified>false</verified>
        public string Lang;//    <lang>zh_cn</lang>
        public bool ContributorsEnabled;//    <contributors_enabled>false</contributors_enabled>
        //  </user>
    }

    public class SohuException
    {
        public string code;
        public string error;
        public string request;
    }
}
